#ifndef RSPTRANSMITION_H
#define RSPTRANSMITION_H

#include "FreeRtos.h"
#include "main.h"
#include "freertos.h"
#include "queue.h"
#include "portmacro.h"
#include "cmsis_os.h"
#include "task.h"
#include "string.h"
#include "stdio.h"
#include "motor.h"
#include "semphr.h"
#include "CommandString.h"


#pragma pack(1)
#define UART4_BUFF_SIZE  50

typedef struct {
    volatile uint8_t RxFlag;
    volatile uint16_t Rxlen;
    uint8_t* RxBuff;
}USART_RECEIVETYPE;

#pragma pack()

void DigitalOutput(uint8_t InputDigital);
void RSPTransmitInitStart(void);
void RspUART4ReceiveIDLEFromISR(void);
void RspReceivedOperation(void);


#endif
